package com.example.mobiledatapackage.mapStruct;

import com.example.mobiledatapackage.domain.Package;
import com.example.mobiledatapackage.request.pkg.ModifyPackageInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface PackageMapStruct {

    PackageMapStruct INSTANCE = Mappers.getMapper(PackageMapStruct.class);

    Package modifyInfoToPkg(ModifyPackageInfo modifyPackageInfo);
}
